package nc.impl.med.bd.mcm.position;

import nc.bs.trade.business.IBDBusiCheck;
import nc.vo.pub.AggregatedValueObject;
import nc.vo.trade.pub.HYBillVO;
import nc.vo.trade.pub.IBDACTION;

public class PositionCheckCHK implements IBDBusiCheck, IBDACTION{

	public void check(int intBdAction, AggregatedValueObject vo, Object userObj)
			throws Exception {
		switch (intBdAction) {
		case DELETE:
			onCheckDelete((HYBillVO) vo);
			break;
		case SAVE:
			onCheckSave((HYBillVO) vo);
			break;
		}
		
	}
	private void onCheckSave(HYBillVO vo) throws Exception {
		
	}
	
	private void onCheckDelete(HYBillVO vo) throws Exception {

	}

	public void dealAfter(int intBdAction, AggregatedValueObject billVo,
			Object userObj) throws Exception {
		// TODO Auto-generated method stub
		
	}

}
